package com.dstation.service.interf;

import com.dstation.domain.OrderInfo;
import com.dstation.domain.SubscriptionPackageInfo;

public interface ICoinService {
    int addSubScriptionOfCoin(SubscriptionPackageInfo subscriptionPackageInfo);

    int addOrderInfo(OrderInfo orderInfo);

    int alterOrderStatusByOrderNo(String out_trade_no, int status);

    int alterCoinNumByUserID(Long userId, double coinNum);

    OrderInfo findOrderByOrderNum(String out_trade_no);
}
